<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>房产模块-动态预约</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="${s.base}/js/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="${s.base}/css/base/base.css" media="all" /></head>

<body class="childrenBody">
<form class="layui-form"   method="post" action="/hostReport/export">
	<blockquote class="layui-elem-quote quoteBox" id="tool">
		<div class="layui-inline">
			<label class="layui-input-inline">楼盘名称</label>
			<label class="layui-input-inline">
				<input type="text" class="layui-input" name="itemName" placeholder="请输入楼盘名称" /></label>
			<label class="layui-input-inline">预约人姓名</label>
			<label class="layui-input-inline">
				<input type="text" class="layui-input" name="memberName" placeholder="请输入客户姓名" /></label>
			<label class="layui-input-inline">预约人电话</label>
			<label class="layui-input-inline">
				<input type="text" class="layui-input" name="memberPhone" placeholder="请输入预约人电话" /></label>
			<a class="layui-btn search_btn" lay-submit="" lay-filter="seacherBtn">搜索</a>
			<!--<button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="exportBtn"  type="submit" >导出</button>-->
		</div>
	</blockquote>
	<table id="entityList" lay-filter="entityList"></table>
</form>
<script type="text/html" id="entityBar">
	<a class = "layui-btn cy-btnbg-edit layui-btn-sm" lay-event="edit"> 编辑 </a>
	<a class="layui-btn layui-btn-danger layui-btn-sm" lay-event="del">删除</a >
</script>
<script type="text/javascript" src="${s.base}/js/layui/layui.js"></script>
<script type="text/javascript" src="${s.base}/js/base/base.js"></script>
<script type="text/javascript">layui.use(['jquery', 'pageUtil', 'table', 'dateUtil','dialogUtil','baseUtil'],
    function() {
        var $ = layui.jquery,
            dateUtil = layui.dateUtil,
            dialogUtil = layui.dialogUtil,
            baseUtil = layui.baseUtil,
            table = layui.table,
            pageUtil = layui.pageUtil;
        var tableIns = null;
		var url = "/hostItemSubscription/page";
		var cols = [{
			type: 'checkbox',
			fixed: 'left'
		},
			{
				type: 'numbers',
				title: '序号'
			},
			{
				field: 'itemName',
				title: '楼盘名称',
				align: 'center'
			},
			{
				field: 'memberName',
				title: '客户姓名',
				align: 'center'
			},
			{
				field: 'memberPhone',
				title: '客户姓名',
				align: 'center'
			},
			{
				field: 'createTime',
				title: '创建时间',
				width: 190,
				align: 'center',
				templet: function(d) {
					return dateUtil.formatDate(new Date(d.createTime), "yyyy-MM-dd HH:mm:ss");
				}
			}];
		tableIns = pageUtil.initDate(cols, url, true);

    })</script>
</body>

</html>